package com.ktjy.thymeleaf.service;

import com.ktjy.thymeleaf.entity.User;

import java.util.List;

public interface IUserService {
    User login(String uerName, String uerPassword);
    int addUser(User user);
    int deleteUser(Long usrId);
    int updateUser(User user);
    User getUser(Long usrId);
    List<User> findAllUsers();
}
